//
//  HomeModel.m
//  大轮胎
//
//  Created by 朱永超 on 2017/3/22.
//  Copyright © 2017年 zyc. All rights reserved.
//

#import "HomeModel.h"

//分类
@implementation HomeModel
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
}
@end
//滚动视图内容
@implementation ScrollModel
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
}
@end
//网格视图内容
@implementation CollectionModel
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        [self setValue:value forKey:@"ids"];
    }
}
@end
//商铺内容
@implementation ShopModel
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        [self setValue:value forKey:@"ids"];
    }
}
@end
